package com.tao.YanMoDesignPattern.status.caseChange;


/**
 * @Author Mi_Tao
 * @Date 2023/7/22
 * @Description
 * @Version 1.0
 **/
public class NormalVoteState implements VoteState{
    @Override
    public void vote(String user, String voteItem, VoteManager voteManager) {

        //z正常投票 , 记录到投票记录中
        voteManager.getMapVote().put(user,voteItem);
        System.out.println("恭喜你投票成功！");
    }
}
